<template>
  <div></div>
</template>

<script setup>
import { app } from "../../main";
let $map = null;
let docLayer = new Zondy.Map.Doc("", "guanggu", { crossOrigin: "Anonymous" });
onMounted(() => {
  $map = inject("$map");
  $map.addLayer(docLayer);
  // 全局挂载docLayer
  app.provide("$docLayer", docLayer);
});

// 创建弹框
</script>

<style lang="scss" scoped></style>
